home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970626-19970929
/
000105_news@newsmaster….columbia.edu _Thu Jul 24 16:23:09 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA12947
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 24 Jul 1997 16:23:09 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA27518
for kermit.misc@watsun; Thu, 24 Jul 1997 16:23:08 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: I wonder why
Date: 24 Jul 1997 20:23:05 GMT
Organization: Columbia University
Lines: 41
Message-ID: <5r8dj9$dj9$1@apakabar.cc.columbia.edu>
References: <5r524l$2l$1@news2.voicenet.com> <5r5neg$sa1$1@apakabar.cc.columbia.edu> <5r7frf$klc$1@news2.voicenet.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:7383
In article <5r7frf$klc$1@news2.voicenet.com>,
Christopher Mosley <cmosley@voicenet.com> wrote:
: What I am doing is piping the contents of a post in the newsreading
: program "tin" through a filter that turns the contents of that post into a
: file and then runs a sh script that downloads that file to my PC using
: kermit protocol, after this is done control is again returned to the "tin
: process".
:
I'm not familiar with tin, but I'm familiar with trn. At the trn prompt,
after it shows you an article, you can give a "pipe" command, like "| lpr"
if you want to print the article. If you want to download it with Kermit,
just do:
| kermit -s -
or for fast startup and transfer using C-Kermit 6.0:
| kermit -YQs -
But since it's not a file, Kermit doesn't have a name for it, and so sends
it under the name "STDIN". Of course, you can give it an "as-name":
| kermit -YQs - -a article.txt
: Since "kermit -C "send $file"" leaves you in interactive mode I believed
: that "kermit -C "send $file"" and "echo send $file | kermit" were
: basically functionally the same.
:
No, because the second form causes Kermit to sense an "end of file" on
standard input and therefore exit automatically.
: Doing this I discovered that I can use kermit protocol to download
: from standard input, Unfortunately this can only be done
: using kermit -s - , and this didn't work either.
:
It should work. If it doesn't work for you (as shown in the example
above, which works here using SunOS 4.1 on the host and MS-DOS Kermit
on the local end, just like you have), follow up by sending email to
kermit-support@columbia.edu.
- Frank